package io.github.jast90.internship.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by jast90 on 2021/3/9
 */
@Controller
public class PagesController extends BaseController{

    @GetMapping(value = "announcement/list")
    public String announcement(){
         return getViewName("announcement");
    }

    @GetMapping(value = "internship/program/list")
    public String internshipProgram(){
        return getViewName("internshipProgram");
    }

    @GetMapping(value = "internship/weekly/list")
    public String internshipWeekly(){
        return getViewName("internshipWeekly");
    }

    @GetMapping(value = "internship/program/evaluation/list")
    public String internshipProgramEvaluation(){
        return getViewName("internshipProgramEvaluation");
    }

    @GetMapping(value = "class/list")
    public String myClass(){
        return getViewName("myClass");
    }

    @GetMapping(value = "user/list")
    public String user(){
        return getViewName("user");
    }

}
